﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using MaxLeaf.Platform.DataContract;

namespace MaxLeaf.Platform.Contract
{
    [ServiceContract]
    [ServiceKnownType(typeof(mUser_MainDataModel))]
    public interface IUser
    {
        [OperationContract]
        mUser_MainDataModel Login(string strUserName, string strPassword);

        [OperationContract]
        bool ResetPassword(string strUserName, string strOldPassword, string strNewPassword);
    }
}
